﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GrayParrot.Configuration.Logging;

namespace GrayParrot.Configuration
{
    public class LogSettings : ConfigurationSection
    {
        public LogSettings() { }

        [ConfigurationProperty("database", IsRequired=false)]
        public Database Database
        {
            get { return (Database)this["database"]; }
            set { this["database"] = value; }
        }

        [ConfigurationProperty("file", IsRequired=false)]
        public File File
        {
            get { return (File)this["file"]; }
            set { this["file"] = value; }
        }
    }
}
